﻿using System;
using System.ComponentModel.Composition;
using NDBGen.Descriptors.Columns.DataTypes;

namespace NDBGen.Plugins
{
    [MetadataAttribute]
    [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
    public sealed class ColumnDataTypeScriptSnippetGeneratorAttribute : GeneratorAttribute
    {
        public ColumnDataTypeScriptSnippetGeneratorAttribute(Type dataTypeDescriptorType)
            : base(dataTypeDescriptorType, typeof(IColumnDataTypeDescriptor), typeof(IColumnDataTypeScriptSnippetGenerator)) { }
    }
}